<ul class="layui-nav layui-nav-tree" lay-filter="setting">
	<#if user?? && (user.roleAuthMap["A09_A01"]?? || user.usertype == "0")  && models?? && models["xiaoe"]?? && models["xiaoe"] == true>
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">智能机器人</a>
		<dl class="layui-nav-child">
			
			<#if user?? && (user.roleAuthMap["A09_A01_A01"]?? || user.usertype == "0")  && models?? && models["xiaoe"]?? && models["xiaoe"] == true>
			<dd <#if subtype?? && subtype == 'xiaoe'>class="layui-this"</#if>>
				<a href="/apps/xiaoe/index.html">机器人列表</a>
			</dd>
			</#if>
			<!-- 
			<#if user?? && (user.roleAuthMap["A09_A01_A01"]?? || user.usertype == "0")  && models?? && models["xiaoe"]?? && models["xiaoe"] == true>
			<dd <#if subtype?? && subtype == 'xiaoe'>class="layui-this"</#if>>
				<a href="/apps/xiaoe/index.html">机器人选项</a>
			</dd>
			</#if>
			 -->
			<#if user?? && (user.roleAuthMap["A09_A01_A02"]?? || user.usertype == "0")  && models?? && models["xiaoe"]?? && models["xiaoe"] == true>
			<dd <#if subtype?? && subtype == 'chat'>class="layui-this"</#if>>
				<a href="/apps/xiaoe/chat.html">对话测试</a>
			</dd>
			</#if>
			
			<#if user?? && (user.roleAuthMap["A09_A01_A03"]?? || user.usertype == "0")  && models?? && models["xiaoe"]?? && models["xiaoe"] == true>
			<dd <#if subtype?? && subtype == 'history'>class="layui-this"</#if>>
				<a href="/apps/xiaoe/history.html">用户提问历史</a>
			</dd>
			</#if>
		</dl>
		
	</li>
	</#if>
	<#if user?? && (user.roleAuthMap["A09_A01"]?? || user.usertype == "0") >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">知识库配置</a>
		<dl class="layui-nav-child">
			<#if user?? && (user.roleAuthMap["A09_A02_A01"]?? || user.usertype == "0") && models?? && models["xiaoe"]?? && models["xiaoe"] == true>
			<dd <#if subtype?? && subtype == 'knowledge'>class="layui-this"</#if>>
				<a href="/apps/xiaoe/knowledge.html">知识维护</a>
			</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A09_A02_A02"]?? || user.usertype == "0") >
			<dd <#if subtype?? && subtype == 'words'>class="layui-this"</#if>>
				<a href="/apps/xiaoe/words.html">词库配置</a>
			</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A09_A02_A03"]?? || user.usertype == "0") && models?? && models["xiaoe"]?? && models["xiaoe"] == true >
			<dd <#if subtype?? && subtype == 'scene'>class="layui-this"</#if>>
				<a href="/apps/xiaoe/scene.html">对话场景</a>
			</dd>
			</#if>
		</dl>
		
	</li>
	</#if>
</ul>